import urllib2

from plant import logger
from plant.service.basesv import BaseSV


class SignInServerSV(BaseSV):

    def login(self):
        url = self.regUri
        logger.info("reg to server ===>" + url)
        try:
            response = urllib2.urlopen(url)
            response.read()
            logger.info("reg to server ===>" + url)
        except:
            return None
